#define _CRT_SECURE_NO_WARNINGS 1

#include<iostream>
#include<string>
using namespace std;

int main()
{
	string s;

	while (cin >> s)
	{
		if (s[0] < 'z' && s[0] > 'a') cout << (s[0] - 32) << endl;
		else cout << s[0];
	}

	return 0;
}